package com.qujia.station.mapper;

import com.qujia.station.domain.NonOilOrder;
import com.qujia.station.domain.OrderDetails;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OrderDetailsMapper {
    int deleteByPrimaryKey(Long id);

    int insert(OrderDetails record);

    int insertBatch(@Param("orderDetailsList") List<OrderDetails> orderDetailsList);

    int insertSelective(OrderDetails record);

    OrderDetails selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(OrderDetails record);

    int updateByPrimaryKey(OrderDetails record);

    List<OrderDetails> selectListByOrderCode(@Param("orderCode") String orderCode);

    OrderDetails selectOrderDetails(OrderDetails orderDetails);
}